﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Windows.Input;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// “用户控件”项模板在 http://go.microsoft.com/fwlink/?LinkId=234236 上提供

namespace Micua.iChat.Controls
{
    public sealed partial class FunctionButton : UserControl
    {
        public ICommand Command { get; set; }
        public object CommandParameter { get; set; }
        public Symbol Icon
        {
            get { return icon.Symbol; }
            set { icon.Symbol = value; }
        }
        public string Text
        {
            get { return label.Text; }
            set { label.Text = value; }
        }
        public FunctionButton()
        {
            this.InitializeComponent();
        }
    }
}
